package com.haizhi.crm.common.redis;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Service;

/**
 * Created by chengmo on 2018/7/2.
 */
@Service
public class RedisServiceImpl implements RedisService {

    @Autowired
    private RedisTemplate redisTemplate;

    @Override
    public <T> T get(String key) {
        return null;
    }

    @Override
    public <T> boolean put(String key, T value) {
        return false;
    }

    @Override
    public <T> boolean put(String key, T value, int timeout) {
        return false;
    }
}
